package com.yun.dao;

import com.yun.pojo.Admin;
import com.yun.pojo.User;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AdminDao {
    public List<User> selectAll();

    public int deleteUser(String name);

    public Admin findAdmin(Admin admin);

    public User getAdminByName(String name);
}
